package com.atguigu.entity;

public class BirthAndDeath {

    private String date;

    private String name;

    private String birthOrDeath;

    public BirthAndDeath() {
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBirthOrDeath() {
        return birthOrDeath;
    }

    public void setBirthOrDeath(String birthOrDeath) {
        this.birthOrDeath = birthOrDeath;
    }

    @Override
    public String toString() {
        return "BirthAndDeath{" +
                "date='" + date + '\'' +
                ", name='" + name + '\'' +
                ", birthOrDeath='" + birthOrDeath + '\'' +
                '}';
    }

}
